package com.esl.service.admin;

import java.util.Set;

import com.esl.dto.admin.PageInfo_Dto;
import com.esl.dto.admin.User_Dto;
import com.esl.model.admin.User;

public interface UserManager {

	public void add(User user);

	public User getUserByID(int id);

	public Set<User> getCollectByString(String users);

	public void update(User user);

	public PageInfo_Dto load(int pageNow, int pageSize, String hql,
			String orderBy);

	public User_Dto check(String studentNO, String password);
	
	public boolean checkStudentNo(String studentNO);
	
	public void RecodeLogByLogin(String username,String loginIP);

}
